/*================================================================
*   Copyright (C) 2017 LiuYao. All rights reserved.
*   
*   Filename : log_factory.h
*   Author : LiuYao
*   Date : 2017-12-28
*   Description : 
*
================================================================*/
#ifndef _LOG_FACTORY_H
#define _LOG_FACTORY_H

#include "factory.h"
#include "../graph/node.h"
#include "../graph/ops/log_op.h"

class LogFactory : public Factory {
    private:
        Node* node_;
        
        Node* hook() { return new Log(node_); }

    public:
        LogFactory(Node* node) : node_(node) {}
};

#endif
